////#include <iostream>
////#include <string>
////using namespace std;
////
////class Building
////{
////    friend void goodGay(Building * building);
////public:
////    Building()
////    {
////        m_SittingRoom = "客厅";
////        m_BedRoom = "卧室";
////    }
////public:
////    string m_SittingRoom;
////private:
////    string m_BedRoom;//卧室
////};
//////全局函数
////void goodGay(Building * building)
////{
////    cout << "好基友全局函数正在访问：" << building->m_SittingRoom << endl;
////    cout << "好基友全局函数正在访问：" << building->m_BedRoom << endl;
////}
////void test01()
////{
////    Building building;
////    goodGay(&building);
////}
////int main()
////{
////    test01();
////
////    system("pause");
////    return 0;
////}
//#include <iostream>
//#include <string>
//#include <cstring>
//using namespace std;
////void Swap(char * str)
////{
////    if (str == NULL)
////    {
////        return ;
////    }
////    char* l = str;
////    char* r = str + strlen(str) + 1;
////    while (l < r)
////    {
////        char tmp = *l;
////        *l = *r;
////        l++;
////        *r = tmp;
////        r--;
////    }
////}